import {request} from "../../request";
export function response(data,method) {
    return request({
        url: '/response',
        method: method,
        data: data,
        headers: {
            "Content-Type":"application/json"
        },
    })
}
export function getResponseInfo(problemId, type) {
    return request({
        url: '/response/' + problemId +'/' + type,
        method: 'get',
    })
}
